package cn.bjc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//开启Eureka客户端注解,此注解可以不用加,只要导入了客户端依赖,默认就是eureka客户端
@EnableEurekaClient
//开启openFeign客户端
@EnableFeignClients
public class PayApp {
    
    public static void main(String[] args) {
        SpringApplication.run(PayApp.class, args);
    }
}